/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package excom;

import java.awt.Dimension;
import javax.swing.JLabel;

/**
 * Status bar
 * @author Hung Cuong <nhc.hcmuns at gmail.com>
 */
public class StatusBar extends JLabel {

    /** Creates a new instance of StatusBar */
    public StatusBar() {
        super();
        super.setPreferredSize(new Dimension(100, 26));
        setMessage("Ready");
    }

    public void setMessage(String message) {
        setText(" " + message);
    }
}
